package com.wugenqiang.project.system.service;


import com.wugenqiang.project.system.pojo.User;

/**
 * @Classname IUserService
 * @Description IUserService
 * @Date 2019/1/26 9:26
 * @Created by WuGenQiang//fighting!!
 */
public interface IUserService {

    //新增用户信息
    String addUserInfo(User user);

    //根据userId查询用户信息
    User queryUserByUserId(Integer userId);

    //根据username查询用户信息
    User queryUserByUsername(String username);

    //更新用户信息
    String updateUserInfo(User user);

    //用户登录
    User login(String username, String password);

}
